/*
    1.取当前时间的微秒，毫秒，秒的时间截
*/

#ifndef _XLIB_ARRAY_H_
#define _XLIB_ARRAY_H_


#if defined(_WIN32)
#   define __export         __declspec(dllexport)
#elif defined(__GNUC__) && ((__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
#   define __export         __attribute__((visibility("default")))
#else
#   define __export
#endif

#include <string.h>
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"

void time_reg(luaL_Reg lib[], int index);

#endif